/**
        Query query=new Query();
        query.addCriteria(Criteria.where("_id").is(formDataApproval.getId()).and("tenant_id").is(formDataApproval.getTenantId()));

        Update update=new Update();
        update.set("process_id",formDataApproval.getProcessId());

        //数据库有，就新增， 没有，就修改
        mongoTemplate.upsert(query,update,FormData.class,"formData");

        //修改方法
        // 无实际意义，不推荐使用
        mongoTemplate.update(FormDataApproval.class);
        mongoTemplate.updateFirst(query,update,FormDataApproval.class,"formDataApproval");
        mongoTemplate.updateMulti(query,update,FormDataApproval.class,"formDataApproval");
        mongoTemplate.findAndModify(query,update,FormDataApproval.class,"formDataApproval");

        //查询方法
        mongoTemplate.find(query,FormDataApproval.class,"formDataApproval");
        mongoTemplate.findOne(query,FormDataApproval.class,"formDataApproval");
        mongoTemplate.findAll(FormDataApproval.class,"formDataApproval");
        mongoTemplate.findById(formDataApproval.getId(),FormDataApproval.class,"formDataApproval");

        //删除方法
        mongoTemplate.remove(query,FormDataApproval.class,"formDataApproval");
        mongoTemplate.findAndRemove(query,FormDataApproval.class,"formDataApproval");
        mongoTemplate.findAllAndRemove(query,FormDataApproval.class,"formDataApproval");

        //新增方法
        mongoTemplate.save(formDataApproval,"formDataApproval"); // 同upsert()，没有新增，有修改
        mongoTemplate.insert(formDataApproval,"formDataApproval");
        mongoTemplate.insertAll(list);
}
  */